package org.to_zero.springboot.security.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HomeController {
    @GetMapping("hello")
    public @ResponseBody
    String hello() {
        return "hello world";
    }

    @GetMapping("index")
    public String index(){
        return "index.html";
    }


}
